<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>회원 상세 정보</title>
<script type="text/javascript">
	function closePopup() {
		window.close();
		return true;
	}
</script>
</head>
<body>
<form action="admin/list.do" name="detail-member-list" method="post">
<table width="500" height="500" align="center">
	<tr>
		<td align="center" colspan="2"><h2>${member.userid} 님의 상세 정보 </h2></td>
		<td></td>
	</tr>
	<tr>
		<td width="30%">아이디</td>	<td>${member.userid}</td>
	</tr>
	<tr>
		<td width="30%">이름</td>	<td>${member.uname}</td>
	</tr>
	<tr>
		<td width="30%">연락처</td>	<td>${member.uphone}</td>
	</tr>
	<tr>
		<td width="30%">주소</td>	<td>${member.uaddr}</td>
	</tr>
	<tr>
		<td width="30%">상세 주소</td>	<td>${member.uresaddr}</td>
	</tr>
	<tr>
		<td width="30%">e-메일</td>	<td>${member.uemail}</td>
	</tr>
	<tr>
		<td width="30%">마일리지</td>	<td><c:if test="${member.upoint == null}">충전된 마일리지가 없습니다</c:if><c:if test="${member.upoint > 0}">${member.upoint} Point</c:if></td>
	</tr>
	<tr>
		<td width="30%">가입일</td>	<td><fmt:formatDate pattern="yyyy년 MM월 dd일 a hh시 mm분 ss초" value="${member.uwriteday}"/></td>
	</tr>
	<tr>
		<td width="30%">회원 유효 여부</td>	<td>${member.uvalid}</td>
	</tr>
	<tr>
		<td colspan="2" align="right">
		<input type="button" value="닫기" onclick="return closePopup()">
		</td>
	</tr>
</table>
</form>
</body>
</html>